from django.db import models

# Create your models here.
class Calendar(models.Model):
	id = models.CharField(max_length=200, primary_key=True)
	summary = models.CharField(max_length=200, unique=True)
	timeZone = models.CharField(max_length=200,default='America/New_York')
	pub_date = models.DateTimeField('date published')

	def __str__(self):
		return self.summary
	
class Event(models.Model):
	id = models.CharField(max_length=200, primary_key=True)
	summary = models.CharField(max_length=200)
	pub_date = models.DateTimeField('date published')

	def __str__(self):
		return self.summary